home *** CD-ROM | disk | FTP | other *** search
/ Mastering Computers 3 / Mastering Computers Vol 3.iso / Win95 / Network Utils / NUTILS / NUTIL.DOC < prev    next >
Encoding:
Text File  |  1994-01-05  |  96.1 KB  |  4,103 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                                       NUtils v 7.00
  26.  
  27.                      An set of add-on utilities for Novell's NetWare
  28.                        Network Operating Systems to provide ease of
  29.                         network administration and functionality.
  30.  
  31.                                 Written by Darwin Collins
  32.                                Documentation by Marc Nowell
  33.  
  34.                         Copyright 1992,1993 CLS and Darwin Collins
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                                     Table of Contents
  42.  
  43.  
  44.                Introduction.............................................4
  45.                How To Contact Us........................................5
  46.                Licenses, Warranties and Disclaimers.....................6
  47.                Shareware - How to Register..............................7
  48.                NADDRESS.................................................8
  49.                NALLCARD.................................................10
  50.                NCARD....................................................11
  51.                NCHGOWN..................................................12
  52.                NCHKCSYS.................................................13
  53.                NCHKMODM.................................................14
  54.                NCHKRPRN.................................................15
  55.                NCMPDATE.................................................16
  56.                NCMPDRVR.................................................17
  57.                NCOPYIPX.................................................19
  58.                NCOPYNEW.................................................22
  59.                NCOPYSCR.................................................24
  60.                NCPY2SUB.................................................25
  61.                NDATEDIR.................................................26
  62.                NDELFILE.................................................27
  63.                NDELPRNJ.................................................28
  64.                NDISK....................................................29
  65.                NDOSVER..................................................30
  66.                NEMSMEM..................................................31
  67.                NEQUA....................................................32
  68.                NEXPIRE..................................................33
  69.                NGETTIME.................................................34
  70.                NGROUP...................................................35
  71.                NINVENT..................................................36
  72.                NLIST....................................................37
  73.                NLOGADDR.................................................38
  74.                NLOGEVT..................................................40
  75.                NLOGMSG..................................................42
  76.                NMANPCON.................................................43
  77.                NMEM.....................................................45
  78.                NMHS2TXT.................................................46
  79.                NOPNFILE.................................................48
  80.                NQUOTES..................................................49
  81.                NRPTBIND.................................................50
  82.                NRPTCONN.................................................52
  83.                NRPTEQUA.................................................53
  84.                NRPTMHS..................................................54
  85.                NRPTMHSU.................................................55
  86.                NRPTPCON.................................................57
  87.                NRPTSCRP.................................................58
  88.                NRPTOWN..................................................59
  89.                NRPTSUB..................................................60
  90.                NSELPRNJ.................................................61
  91.  
  92.  
  93.                                        Page 2 of 70
  94.  
  95.  
  96.  
  97.  
  98.  
  99.                NSETTIME.................................................62
  100.                NSTRING..................................................63
  101.                NSUBOWN..................................................64
  102.                NTRAFFIC.................................................65
  103.                NXMSMEM..................................................66
  104.                Table A..................................................67
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.                                        Page 3 of 70
  153.  
  154.  
  155.  
  156.  
  157.  
  158.                                        Introduction
  159.  
  160.                    Here are some general but productive utilities for the
  161.                Network Administrator.  They are all designed for
  162.                interactive/batch use and work with NetWare 2.15 through 2.2
  163.                and NetWare 3.xx.  At time of this release, some testing is
  164.                underway with NetWare 4.00 development code.  These
  165.                utilities have been designed to help ease the network
  166.                administrator in his tasks of maintaining the network.
  167.  
  168.                    There are at least 50 utilities documented in this
  169.                printable text file.  Most are written using Microsoft C 6.0
  170.                and NetWare C Interface for DOS.  Also, included are some
  171.                sample batch/login scripts that illustrate some uses for the
  172.                utilities.
  173.  
  174.                    Utilities are described in the following documentation
  175.                along with the errorlevel codes.  Also, using ? as the first
  176.                parameter when executing a utility will generally display
  177.                the syntax options allowed.
  178.  
  179.                    If you have a utility that you would like to see, then
  180.                please send a suggestion with your registration fee.  If it
  181.                is feasible to create it, then we will.
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.                                        Page 4 of 70
  212.  
  213.  
  214.  
  215.  
  216.  
  217.                                     How To Contact Us
  218.  
  219.  
  220.                     In order of preference/speed of us getting it and
  221.                responding:
  222.  
  223.                1.   MHS Host CLS - (214) 399-8616, - USRobotics HST - Mail
  224.                     to SUPPORT@CLS - available direct, CServe, or NHub.
  225.                     (Direct is fastest!)  Due to financial considerations,
  226.                     namely connect time plus five bucks an hour (boo!),
  227.                     file attachments cannot be sent through CServe at this
  228.                     time.  Messages through CServe and NHub will be picked
  229.                     up and responded to.  Please tell us how to route a
  230.                     message back to you via your preferred route, i.e.,
  231.                     direct connection, NHUB, CServe, etc.
  232.  
  233.                2.   BBS (The MOCHINE) - (214) 399-8414 - USRobotics Dual
  234.                     Standard - Mail to SYSOP or Marc Nowell - NetMail to
  235.                     1:124/1301 (FidoNet) or 8:930/301 (RBBS-Net).  We read
  236.                     and respond to messages in the NOVELL echo on FidoNet.
  237.  
  238.                3.   US Mail to CLS, 2909 Lawrence, Irving, TX  75061, USA
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.                                        Page 5 of 70
  268.  
  269.  
  270.  
  271.  
  272.  
  273.                            Licenses, Warranties and Disclaimers
  274.  
  275.  
  276.                I.   The shareware version of NUtils may be distributed via
  277.                     electronic mail or electronic BBSs and information
  278.                     services as long as the contents of this archive have
  279.                     not been modified.  The shareware distribution set may
  280.                     be distributed by software libraries as long as the
  281.                     compensation is less than $7.50 for the distribution
  282.                     disk.  The shareware software may be included with
  283.                     other packages or publications only with the permission
  284.                     of CLS, which will usually be granted.
  285.  
  286.                II.  The registered version of NUtils may not be
  287.                     redistributed, and the normal rules of commercial
  288.                     copyrighted software apply.
  289.  
  290.                III. NO WARRANTY.  ANY USE BY YOU OF THE SOFTWARE IS AT YOUR
  291.                     OWN RISK.  THE SOFTWARE IS PROVIDED FOR USE AS IS
  292.                     WITHOUT WARRANTY OF ANY KIND.  CLS, MARC NOWELL, AND
  293.                     DARWIN COLLINS DISCLAIM ALL WARRANTIES OF ANY KIND,
  294.                     EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT
  295.                     LIMITATION, IMPLIED WARRANTIES OF MERCHANTABILITY AND
  296.                     FITNESS FOR A PARTICULAR PURPOSE.
  297.  
  298.                IV.  In other words, NUtils is guaranteed to do nothing more
  299.                     than occupy your hard disk.  If it breaks in two, you
  300.                     own both pieces!
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.                                        Page 6 of 70
  327.  
  328.  
  329.  
  330.  
  331.  
  332.                                Shareware - How to Register
  333.  
  334.  
  335.                     NUtils is shareware.  You are free to use it on a trial
  336.                basis for 30 days.  If you find it useful and want to
  337.                continue using it, you are required to register a copy.  The
  338.                cost is $49.95 in US funds plus sales tax, if you are in
  339.                Texas, USA.
  340.  
  341.                     Please see the REGISTER.FRM file in this archive for
  342.                more information.
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.                                        Page 7 of 70
  386.  
  387.  
  388.  
  389.  
  390.  
  391.                                          NADDRESS
  392.  
  393.                NADDRESS Address
  394.                    To compare Node Address to this station with specified.
  395.  
  396.                NADDRESS Address /NODE
  397.                    To compare Node Address to this station with specified.
  398.  
  399.                NADDRESS Address /SEGMENT
  400.                    To compare Segment Address to this station with
  401.                    specified.
  402.  
  403.                Wildcard character ? can be used in place of an address
  404.                digit, i.e.:  NADDRESS 123? /SEGMENT
  405.                         will match anything with the address of 123?, as in
  406.                         00001230, 00001231, ..., 0000123F
  407.  
  408.                This utility compares this workstation's Segment or Node
  409.                Address to a specified value.  The primary purpose of this
  410.                utility is to provide a way for batch utilities to be
  411.                executed depending upon the physical address of the
  412.                workstation.  For example, this could be used in cases where
  413.                you want to run a specific program on your print server or
  414.                mail server.  Another use, could be when you need to verify
  415.                that all workstations of a specific NIC manufacturer or on a
  416.                specific segment need new drivers or that the administrator
  417.                needs to be notified.
  418.  
  419.                Example:
  420.                    In a sample batch file:
  421.                         NADDRESS 864bf8
  422.                         if errorlevel 1 send "Someone logged in on Joe's
  423.                         PC." to SUPERVISOR.
  424.                    Or,
  425.                         NADDRESS 0c5f07 /SEGMENT
  426.                         if errorlevel 1 goto VerifyFrameType
  427.                    Or,
  428.                         NADDRESS 608C????????
  429.                         if not errorlevel 1 goto Skip3c505
  430.                         rem Copy new 3C505.EXE to replace old IPX.COM
  431.                         ncmpdrvr 15 IRQ
  432.                         if errorlevel 1 copy f:\drivers\3c505\irq15\net.cfg
  433.                              c:\net
  434.                         if errorlevel 1 copy f:\drivers\3c505\irq3\net.cfg
  435.                              c:\net
  436.                         :skip3c505
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.                                        Page 8 of 70
  445.  
  446.  
  447.  
  448.  
  449.  
  450.                Returned errorlevels are:
  451.  
  452.                    9 - drivers not loaded or other error.
  453.                    1 - it matches this workstation.
  454.                    0 - no match found.
  455.  
  456.                Hint: Workstation Address is displayed when you do a
  457.                USERLIST /A
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.                                        Page 9 of 70
  504.  
  505.  
  506.  
  507.  
  508.  
  509.                                          NALLCARD
  510.  
  511.  
  512.                NALLCARD
  513.  
  514.                This utility will poll all attached workstations for their
  515.                diagnostic packets.  It will display the three workstations
  516.                with the most errors and it will create a ASCII data file
  517.                that has the statistics from all polled workstations.  The
  518.                ASCII data file can be imported by a spreadsheet program.
  519.                Description of diagnostic codes are listed in Table A.
  520.  
  521.                Returned errorlevels are:
  522.  
  523.                    9 - Syntax error.
  524.                    8 - User Must be logged in.
  525.                    7 - Unable to access current working subdirectory.
  526.                    4 - Unable to initialize IPX.
  527.                    2 - Unable to open (output) report file.
  528.                    0 - Normal Exit.
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.                                       Page 10 of 70
  563.  
  564.  
  565.  
  566.  
  567.  
  568.                                           NCARD
  569.  
  570.  
  571.                NCARD [UserName or Connection Number]
  572.  
  573.                    NCARD          get stats of current workstation.
  574.                    NCARD BRENDA   get stats at BRENDA's station, or
  575.                    NCARD 34       get stats at Connection # 34.
  576.                                   (specify the Connection # if the user has
  577.                                   not yet logged into the server.)
  578.  
  579.                This utility will display the results from the diagnostic
  580.                statistics of the specified workstation.  It will only
  581.                display error statistics that are not equal to zero.
  582.                Description of diagnostic codes are listed in Appendix A.
  583.  
  584.  
  585.                Returned errorlevels are:
  586.  
  587.                    9 - Syntax error.
  588.                    8 - User not be logged in.
  589.                    7 - Specified connection is not active.
  590.                    6 - Unable to access info on specified connection.
  591.                    0 - Normal Exit.
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.                                       Page 11 of 70
  622.  
  623.  
  624.  
  625.  
  626.  
  627.                                          NCHGOWN
  628.  
  629.                  ** Supervisor equivalence needed to run this utility! **
  630.  
  631.  
  632.                NCHGOWN Drive:\Subdirectory OldOwnerName NewOwnerName
  633.  
  634.                This utility will display/change the directory/file
  635.                ownership of the current working directory and all of its
  636.                subdirectories.  Valid owner names consist of Usernames,
  637.                Groupnames and Servernames.
  638.  
  639.                If parameters are not supplied, it will ask for:
  640.  
  641.                    OLD OWNER NAME to search for, or NA for deleted owners,
  642.                         or ALL for all owners found in the subdirectories
  643.  
  644.                    NEW OWNER NAME what will be tagged onto the files
  645.  
  646.                Sample usages:  Files owned by deleted owners may be "re-
  647.                owned" by valid users; correctly document disk space usage
  648.                by ownership; overcome accounting limitation dealing with
  649.                deleted users; used with NRPTOWN can produce an accurate
  650.                disk space consumption report for administration or
  651.                documentation purposes.
  652.  
  653.                Example:
  654.  
  655.                    NCHGOWN \APPS\ACAD11 ALL AUTOCAD
  656.  
  657.                    will change the ownership of all files/directories at
  658.                    \APP\ACAD11 and all its subdirectories to the group
  659.                    owner AUTOCAD.
  660.  
  661.  
  662.                Returned errorlevels are:
  663.  
  664.                    9 - Syntax error.
  665.                    8 - User Must be logged in.
  666.                    7 - Unable to access current work subdirectory.
  667.                    6 - Must be supervisor or equivalent.
  668.                    5 - Operating error.
  669.                    4 - Unable to access specified subdirectory / not a
  670.                         server subdirectory.
  671.                    3 - Unable to access subdirectory.
  672.                    0 - Normal Exit.
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.                                       Page 12 of 70
  681.  
  682.  
  683.  
  684.  
  685.  
  686.                                          NCHKCSYS
  687.  
  688.  
  689.                NCHKCSYS  MinimumFiles MinimumBuffers MinimumEnvironment
  690.  
  691.                This utility will read the workstation's (C:\CONFIG.SYS)
  692.                file and check if the file has the minimum count of items
  693.                that you specify above.
  694.  
  695.                If COMMAND.COM does not exist on Drive C:, it will then
  696.                attempt to read CONFIG.SYS on Drive A:
  697.  
  698.                Sample usage:  Modifying all workstations so that they will
  699.                reserve more environment space (needed if your users have a
  700.                lot of SET and/or PATH parameters); ensure that all
  701.                workstations in the field have the needed minimum conditions
  702.                to operate safely on the network; to overrule an individual
  703.                "fooling" with his workstation.
  704.  
  705.  
  706.                Returned errorlevels are:
  707.  
  708.                    9 - Syntax error.
  709.                    7 - Error reading CONFIG.SYS
  710.                    6 - Error writing CONFIG.SYS
  711.                    5 - Wrote new CONFIG.SYS
  712.                    4 - Files number increased.
  713.                    3 - Buffers number increased.
  714.                    2 - Environment space number increased.
  715.                    0 - No changes made to CONFIG.SYS
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.                                       Page 13 of 70
  740.  
  741.  
  742.  
  743.  
  744.  
  745.                                          NCHKMODM
  746.  
  747.  
  748.                NCHKMODM [M]
  749.  
  750.                This utility will check for modems or mice on serial ports.
  751.                If no parameters are specified, modems will be checked for.
  752.                If the M parameter is specified, a mouse will be checked
  753.                for.
  754.  
  755.                Note:  This utility can find serial mice but not bus mice if
  756.                the mouse driver is not loaded.
  757.  
  758.                Returned errorlevels are:
  759.  
  760.                    1 - Modem or mouse device found
  761.                    0 - Device not found
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.                                       Page 14 of 70
  799.  
  800.  
  801.  
  802.  
  803.  
  804.                                          NCHKRPRN
  805.  
  806.  
  807.                NCHKRPRN PrintServerName  ALL
  808.                    To display status of all printers on specified Print
  809.                    Server.
  810.  
  811.                NCHKRPRN PrintServerName Printer#
  812.                    To display status of specified printer and specified
  813.                    Print Server.
  814.  
  815.                NCHKRPRN CHECK
  816.                    Read the (\PUBLIC\NCHKRPRN.LST) file listing to check if
  817.                    the current workstation should be running RPRINTER.  If
  818.                    it is, then report the status of the specified RPRINTER
  819.                    (Not Connected, Change Paper, Ready...).  If a Print
  820.                    JobName exists in the \NCHKRPRN.LST file for the current
  821.                    station, then start a CAPTURE using the specified Print
  822.                    JobName.
  823.  
  824.                This utility will report the current status of the specified
  825.                printer on the specified print server.  Also, it can warn
  826.                the user that his printer needs attention, and return an
  827.                errorlevel based upon the printer status.  This errorlevel
  828.                will enable the administrator to modify the flow on the
  829.                batch file.
  830.  
  831.                The following example will check to see if the current
  832.                workstation should be running RPRINTER.  If it should, then
  833.                check the status.  If RPRINTER is NOT CONNECTED (level: 2),
  834.                then  PAUSE  the screen so that the end user can see the
  835.                message.  Otherwise, if it is not that error, then skip to
  836.                the rest of the batch file.
  837.  
  838.                    NCHKRPRN CHECK
  839.                    IF ERRORLEVEL 3 GOTO NOPROB
  840.                    IF NOT ERRORLEVEL 2 GOTO NOPROB
  841.                    rem  Not Connected
  842.                    PAUSE
  843.                    :NOPROB
  844.  
  845.  
  846.                View the file NCHKRPRN.LST for the correct data format of
  847.                workstation RPRINTER information.
  848.  
  849.                Sample usages:  when setup it will warn the end user that he
  850.                needs to take action (Turn ON Printer, Reboot...) for the
  851.                printer that is directly attached to his station, while
  852.                running with RPRINTER.
  853.  
  854.  
  855.  
  856.  
  857.                                       Page 15 of 70
  858.  
  859.  
  860.  
  861.  
  862.  
  863.                                          NCMPDATE
  864.  
  865.                NCMPDATE Drive:\Subdirectory\FileName MM/DD/YY
  866.  
  867.                This utility will compare the specified date with the
  868.                specified file's modification date.  This is useful when
  869.                used in batch files to control the updating of files based
  870.                on their last date of modification.
  871.  
  872.                   Example:  NCMPDATE C:\NET\IPX.COM 02/01/91
  873.  
  874.                Returned errorlevels:
  875.  
  876.                    4 or greater if there was a fatal error or other...
  877.                    3 - specified file could not be accessed
  878.                    2 - if file's date is later  than the specified date
  879.                    1 - if file's date is equal  to   the specified date
  880.                    0 - if file's date is sooner than the specified date
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.                                       Page 16 of 70
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                                          NCMPDRVR
  923.  
  924.  
  925.                NCMPDRVR IPXVersion IPX
  926.  
  927.                Compare the currently loaded drivers with specified
  928.                parameters.
  929.  
  930.                This utility will read information from the currently loaded
  931.                workstation shells, and depending on the specified command
  932.                (and result), will return a errorlevel.
  933.  
  934.                This errorlevel can be used in batch files for executing
  935.                update routines, or just notifying the network administrator
  936.                when the workstation is running a specified driver.
  937.  
  938.                To compare the IPX driver version currently in memory.
  939.  
  940.                    syntax:   NCMPDRVR
  941.                    example:  NCMPDRVR 3.10 IPX
  942.  
  943.                Returned errorlevels:
  944.  
  945.                    2 or greater if there was a fatal error or could not
  946.                         check version
  947.                    1 - if currently loaded IPX  >=  specified IPX version
  948.                    0 - if currently loaded IPX  <   specified IPX version
  949.  
  950.  
  951.                To compare the IRQ number currently in memory.
  952.  
  953.                    syntax:   NCMPDRVR IRQAddress IRQ
  954.                    example:  NCMPDRVR 15 IRQ
  955.  
  956.                Returned errorlevels:
  957.  
  958.                    2 or greater if there was a fatal error or could not
  959.                         check version
  960.                    1 - if loaded IPX uses the specified IRQ address
  961.                    0 - if loaded IPX does not use the specified IRQ address
  962.  
  963.  
  964.                To compare the Network shell currently in memory.
  965.  
  966.                    syntax:   NCMPDRVR ShellVersion NETX
  967.                    example:  NCMPDRVR 3.22 NETX
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.                                       Page 17 of 70
  976.  
  977.  
  978.  
  979.  
  980.  
  981.                Returned errorlevels:
  982.  
  983.                    2 or greater if there was a fatal error or could not
  984.                         check version
  985.                    1 - if currently loaded shell  >=  specified shell
  986.                         version
  987.                    0 - if currently loaded shell  <   specified shell
  988.                         version
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.                                       Page 18 of 70
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.                                          NCOPYIPX
  1041.  
  1042.  
  1043.                NCOPYIPX WorkStationDrive:\Path\IPX.COM
  1044.  
  1045.                This utility will read the workstation's IPX.COM version and
  1046.                configuration information.  It will match this against the
  1047.                master on the server, and if the workstation doesn't match,
  1048.                it will copy IPX.COM from the server to the workstation.
  1049.  
  1050.                New on Sept. 19, 1991:  This utility will read NCOPYIPX.LST
  1051.                in the current working subdirectory.  This list file will
  1052.                contain workstation LAN option names, and the path name that
  1053.                the drivers will be found for the specified driver type.
  1054.                So, hence, you CAN separate drivers that are made by the
  1055.                same manufacturer and/or different driver types made for the
  1056.                same card type.  Read NCOPYIPX.LST for syntax of readable
  1057.                text list file.
  1058.  
  1059.                This utility can run as a standalone without the
  1060.                workstation's network drivers loaded.(if needed)
  1061.  
  1062.                Sample usage:  (Easily!) upgrade workstations to different
  1063.                IPX versions (IPX.COM).
  1064.  
  1065.                The current working subdirectory (that this program is
  1066.                called from) must have a structure that is in a
  1067.  
  1068.                    PathName \ Interrupt# \ I/O Base \ IPX.COM  order.
  1069.  
  1070.                For example:
  1071.  
  1072.                    G_ETHERN\IRQ3
  1073.                    G_ETHERN\IRQ3\II
  1074.                    G_ETHERN\IRQ5\220h
  1075.                    G_ETHERN\IRQ5\240h
  1076.                    G_ETHERN\IRQ15\240h
  1077.                    G_ETHERN\IRQ15\240h\II
  1078.                    NETWORTH\IRQ12\240h
  1079.                    NETWORTH\IRQ15\240h
  1080.                    NETWORTH\IRQ15\240h\II
  1081.  
  1082.                         Ethernet II frame IPX files are in II subdirectory.
  1083.                         This utility can read the difference between a
  1084.                         normal 802.3 and an Ethernet II type frame.  The
  1085.                         Ethernet_II framed IPX.COM but be located in the II
  1086.                         subdirectory of the interrupt or the IOBase
  1087.                         subdirectory.
  1088.  
  1089.                If the driver (IPX.COM) does not exist in the I/O Address
  1090.                subdirectory, then it will look in the Interrupt
  1091.  
  1092.  
  1093.                                       Page 19 of 70
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.                subdirectory.  (Thus, it will get a NetWorth Irq=15
  1100.                IOBase=340h 's IPX.COM from the NETWORTH\IRQ15 subdirectory
  1101.                if NETWORTH\IRQ15\340h does not exist.)
  1102.  
  1103.  
  1104.                    This utility has been tested on drivers by:
  1105.                         3-COM               Thin Wire NICs
  1106.                         Networth            10BaseT NICs
  1107.                         Gateway             Thin Wire NICs
  1108.                         Western Digital     Thin Wire NICs
  1109.                         Xircom              10BaseT Adapters
  1110.  
  1111.                One of the wonderful things about the 16 bit cards is that
  1112.                you can set the cards for higher interrupts than 10 to
  1113.                reduce the possibilities of conflict.
  1114.  
  1115.                Sample setup:
  1116.  
  1117.                    in a batch file is:
  1118.                    CD F:\SUPPORT\DRIVERS         change to driver
  1119.                                                  subdirectory
  1120.                    NCOPYIPX C:\NET\IPX.COM       execute this utility with
  1121.                                                  it specifying that the
  1122.                                                  workstation drivers are in
  1123.                                                  C:\NET subdirectory.
  1124.  
  1125.                    The program will first read the manufacturer, IRQ, and
  1126.                    I/O Base from the IPX driver.  It will display a message
  1127.                    similar to:
  1128.  
  1129.                    Workstation Lan Option: Networth ...
  1130.                    Path: Networth   Irq: IRQ15   Base: 340h
  1131.  
  1132.                    the program will first look in the subdirectory
  1133.                    NETWORTH\IRQ15\340H for the IPX.COM file, if it doesn't
  1134.                    find it here then it go to the NETWORTH\IRQ15
  1135.                    subdirectory.  These subdirectories (NETWORTH\IRQ15,
  1136.                    ...) must be found under the current subdirectory (i.e.
  1137.                    F:\SUPPORT\DRIVERS in this example) or else a message
  1138.                    will be returned that the driver was not found.
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.                                       Page 20 of 70
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.                Returned errorlevels:
  1159.  
  1160.                    9 - Incorrect or short command line parameter
  1161.                    8 - Workstation IPX.COM not found
  1162.                    7 - Could not read workstation's temporary IPX
  1163.                    6 - Server IPX.COM not found
  1164.                    5 - Could not write workstation IPX.COM
  1165.                    4 - Could not read server IPX.COM
  1166.                    3 - Error writing new IPX.COM file
  1167.                    1 - Workstation IPX.COM has been updated
  1168.                    0 - Date/Time stamp same between Server and Workstation
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.                                       Page 21 of 70
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.                                          NCOPYNEW
  1218.  
  1219.  
  1220.                NCOPYNEW [!]Drive:\Path\SourceFileName
  1221.                    Drive:\Path\DestFileName
  1222.  
  1223.                Supports:
  1224.                    Single FileName          to   Same Single FileName
  1225.                         ie: NCOPYNEW I:NET.CFG C:NET.CFG
  1226.                    Single FileName          to   Different Single FileName
  1227.                         ie: NCOPYNEW I:3C505.CFG C:SHELL.CFG
  1228.                    Wildcards(*,?)           to   Destination DirectoryName
  1229.                         ie: NCOPYNEW I:3C505.* C:\NET
  1230.  
  1231.                This utility will copy contents of SourceFileName to
  1232.                DestFileName, if DestFileName is older than SourceFileName
  1233.                or if DestFileName does not exist.  If a ! mark is
  1234.                immediately before the source filename prompt, then the
  1235.                "copy" operation will occur if the the source and
  1236.                destination files are NOT date/time stamped IDENTICALLY.
  1237.  
  1238.                This utility is small enough that it may be called (shelled
  1239.                to ) by another program.
  1240.  
  1241.                Sample usages:  Distribute newer versions of software that
  1242.                is used on the workstation; distribute memos, files, and
  1243.                other mass distribution.
  1244.  
  1245.                Examples:
  1246.  
  1247.                    NCOPYNEW F:\APPS\MASTER\BATCH\PHONE.TXT C:\WORD
  1248.                         Copies PHONE.TXT if the source copy is newer than
  1249.                         the destination.
  1250.  
  1251.                    NCOPYNEW !F:\APPS\MASTER\BATCH\PHONE.TXT C:\WORD
  1252.                         Copies PHONE.TXT, if the source copy is different
  1253.                         than destination.
  1254.  
  1255.                    NCOPYNEW F:\APPS\MASTER\BATCH\FILES.* C:\WORD
  1256.                         Copies any files matching FILES.* to the
  1257.                         subdirectory C:\WORD, if the file is newer than
  1258.                         those matching in the destination sub.
  1259.  
  1260.                Note! Remember C:AUTOEXEC.BAT is not the same as
  1261.                C:\AUTOEXEC.BAT
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.                                       Page 22 of 70
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.                Returned errorlevels:
  1277.  
  1278.                    9 - Invalid syntax
  1279.                    8 - Could not find the source file
  1280.                    7 - Error occurred while accessing destination file
  1281.                    6 - Error occurred while writing to destination file
  1282.                    1 - Source filename copied over destination filename
  1283.                    0 - Date/Time stamp same
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.                                       Page 23 of 70
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.                                          NCOPYSCR
  1336.  
  1337.  
  1338.                NCOPYSCR Drive:\Path\ScriptFile
  1339.  
  1340.                This utility is similar to NCOPYNEW except that it reads a
  1341.                script file instead of the prompt line.  A sample script
  1342.                file is provided.  See the file ALLUSERS.SCR as an example
  1343.                script file.
  1344.  
  1345.                If the symbol ! is used before the source path\filename in
  1346.                the script file, then the utility will copy the file to the
  1347.                destination if the date/time stamp is not the same.  If no
  1348.                beginning symbol is used, then the normal "copy if outdated"
  1349.                rule applies.
  1350.  
  1351.                Sample usages:  Distribute newer versions of software that
  1352.                is used on the workstation; distribute memos, files, and
  1353.                other mass distribution.
  1354.  
  1355.  
  1356.                Returned errorlevels:
  1357.  
  1358.                    9 - Syntax error.
  1359.                    8 - Unable to find script file.
  1360.                    6 - Error writing destination file.
  1361.                    0 - Normal exit.
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.                                       Page 24 of 70
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.                                          NCPY2SUB
  1395.  
  1396.  
  1397.                NCPY2SUB Drive:\Path\FileName
  1398.  
  1399.                This utility will copy FileName to all existing
  1400.                subdirectories of the current default subdirectory.
  1401.  
  1402.                Example:
  1403.                    When the current subdirectory is \GRP\DOC,
  1404.                    NCPY2SUB \USR\SMITH\BLANKMEM.DOC
  1405.                    will have the result that BLANKMEM.DOC will be copied to
  1406.                         all subdirectories of \GRP\DOC, such as
  1407.                         \GRP\DOC\AL, \GRP\DOC\BRENDA, \GRP\DOC\CARL,....
  1408.  
  1409.                Sample usages: distribution of configuration/document files
  1410.                to individual subdirectories that are below current working
  1411.                subdirectory.
  1412.  
  1413.                Note: This utility in the past was very useful for it was a
  1414.                quick way to copy the PRINTCON.DAT (Print Job Configuration
  1415.                file) to all users but now the utility NMANPCON does a much
  1416.                better job of this.
  1417.  
  1418.  
  1419.                Returned errorlevels:
  1420.  
  1421.                    9 - Syntax error.
  1422.                    8 - Unable to find specified file.
  1423.                    6 - Error writing destination file.
  1424.                    0 - Normal exit.
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.                                       Page 25 of 70
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.                                          NDATEDIR
  1454.  
  1455.  
  1456.                NDATEDIR Drive:\Subdirectory
  1457.  
  1458.                This utility will set all files in the current working
  1459.                subdirectory (or specified in the command line) to the
  1460.                current Date/Time stamp.
  1461.  
  1462.                Sample usages:  Marking files that you want to always to be
  1463.                archived by the backup software; mark document
  1464.                subdirectories with all the same date/time stamp.
  1465.                (Especially useful for those important databases that you
  1466.                want to ensure that they are completely backed up even
  1467.                during incremental backup sessions)
  1468.  
  1469.  
  1470.                Returned errorlevels:
  1471.  
  1472.                    9 - Syntax error.
  1473.                    8 - Error accessing home subdirectory.
  1474.                    7 - Error accessing specified subdirectory.
  1475.                    0 - Normal exit.
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.                                       Page 26 of 70
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.                                          NDELFILE
  1513.  
  1514.  
  1515.                NDELFILE Drive:\Path FileMask
  1516.  
  1517.                This utility will delete all files matching the specified
  1518.                FileMask starting at the specified Drive:Path subdirectory
  1519.                and all its nested subdirectories.  The FileMask may contain
  1520.                wildcard (?,*) characters.
  1521.  
  1522.                This utility can be used in a batchfile or interactively.
  1523.                If interactive, then typing  NDELFILE, alone will display a
  1524.                prompt for the desired subdirectory structure and the
  1525.                specified filemask(filename).  If batch, then you will need
  1526.                to type the specified Drive:\Path and FileMask in the
  1527.                command line when executing NDELFILE.
  1528.  
  1529.                Warning!  This utility will not verify if the file should or
  1530.                should not be deleted, it will simply do what you told it!
  1531.  
  1532.                Sample usages:  Delete those .BAK and other backup files
  1533.                that are left by user programs to save diskspace; run this
  1534.                process after doing a full backup of the server; run this
  1535.                process if a maintenance robot (ei. NDISK.EXE) finds that
  1536.                diskspace is very low.
  1537.  
  1538.  
  1539.                Returned errorlevels:
  1540.  
  1541.                    9 - Syntax error.
  1542.                    7 - Unable to find specified subdirectory.
  1543.                    6 - Encountered error when changing subdirectories
  1544.                    1 - Found no files to delete.
  1545.                    0 - Normal exit.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.                                       Page 27 of 70
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.                                          NDELPRNJ
  1572.  
  1573.  
  1574.                NDELPRNJ QueueName UserName
  1575.  
  1576.                This utility will delete all Print Jobs created by UserName.
  1577.                The user executing this utility must have sufficient rights
  1578.                to delete print jobs.  If only the QueueName is specified,
  1579.                then all Print Jobs that the user has security rights can be
  1580.                deleted for the specified queue.  If the QueueName and
  1581.                UserName is specified, then all Print Jobs for the specified
  1582.                Queue and UserName are deleted.
  1583.  
  1584.                Sample usages:  Allow users delete their active print jobs
  1585.                by selecting an option in your menuing system;  Delete all
  1586.                hung (out of paper, printer offLine, ...) print jobs so that
  1587.                the backup machine (usually after midnight) may backup the
  1588.                file server without waiting forever on the queue files to
  1589.                close (Thus, also backing up the queue directory
  1590.                structures).
  1591.  
  1592.  
  1593.                Returned errorlevels:
  1594.  
  1595.                    9 - Syntax error.
  1596.                    8 - Must be logged in.
  1597.                    7 - Unable to find specified queue.
  1598.                    6 - Unable to find specified username.
  1599.                    5 - Insufficent queue rights.
  1600.                    4 - Unable to access print job list.
  1601.                    2 - Specified queue is empty.
  1602.                    1 - Deleted available print jobs.
  1603.                    0 - Normal exit.
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.                                       Page 28 of 70
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.                                           NDISK
  1631.  
  1632.  
  1633.                NDISK Drive:
  1634.  
  1635.                This utility will display the total capacity and available
  1636.                disk space of specified drive.  The available disk space
  1637.                will also be returned as an errorlevel in increments of 1
  1638.                megabyte (1024 * 1024 bytes).  The maximum errorlevel
  1639.                returned is 255.
  1640.  
  1641.                Sample usages:  help alert the administrator to low disk
  1642.                space available; placed in a batch file will automatically
  1643.                delete redundant files if disk space is low.
  1644.  
  1645.                Returned errorlevels:
  1646.  
  1647.                    XXX - Number of megabytes of free space on drive.
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.                                       Page 29 of 70
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.                                          NDOSVER
  1690.  
  1691.  
  1692.                NDOSVER
  1693.  
  1694.                This utility will return the major dos version as a
  1695.                errorlevel exit code.  This is useful for batch files that
  1696.                need to call specific programs based on the DOS version.
  1697.  
  1698.                Sample Use: Load the correct version of NETx.COM, check for
  1699.                old versionf of DOS.
  1700.  
  1701.  
  1702.                Returned errorlevels:
  1703.  
  1704.                    5 - DOS 5 or later found
  1705.                    4 - DOS 4 or later found
  1706.                    3 - DOS 3 or later found
  1707.                    2 - DOS 2 or later found
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.                                       Page 30 of 70
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.                                          NEMSMEM
  1749.  
  1750.  
  1751.                NEMSMEM
  1752.  
  1753.                This program will return the amount of Expanded Memory (EMS)
  1754.                available.  It will return the amount 10K increments as an
  1755.                Errorlevel.  For example, if NEMSMEM found 2304K available,
  1756.                then it will return with an errorlevel of 230.  The maximum
  1757.                errorlevel that can be returned is 255.
  1758.  
  1759.                Sample usages:  Insert before a application call in a batch
  1760.                file, if there isn't enough memory available, goto the
  1761.                appropriate message in the batch file.
  1762.  
  1763.  
  1764.                Returned errorlevels:
  1765.  
  1766.                    XXX - Number of megabytes of free EMS memory.
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.                                       Page 31 of 70
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.                                           NEQUA
  1808.  
  1809.  
  1810.                NEQUA Objectname
  1811.  
  1812.                This utility will return an errorlevel of 0 if the current
  1813.                user is a security equivalent of specified object,
  1814.                errorlevel 1 if it is not equivalent.
  1815.  
  1816.                Sample usage:  batch files can be tuned to specific types of
  1817.                    users.
  1818.  
  1819.  
  1820.                Sample:  NEQUA SUPERVISOR
  1821.                         IF ERRORLEVEL 1 THEN GOTO  (normal user)
  1822.                         super-batch-stuff
  1823.  
  1824.                Returned errorlevels:
  1825.  
  1826.                    1 - User is not security equivalent
  1827.                    0 - User is security equivalent
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.                                       Page 32 of 70
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.                                          NEXPIRE
  1867.  
  1868.  
  1869.                NEXPIRE [username]
  1870.  
  1871.                Returns number of days before password expiration.  If
  1872.                username is specified, the number of days remaining for that
  1873.                user's password will be returned, else the current user will
  1874.                be used for the return.
  1875.  
  1876.                Returned errorlevels:
  1877.  
  1878.                    xxx - Number of days before password expiration.
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.                                       Page 33 of 70
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.                                          NGETTIME
  1926.  
  1927.  
  1928.                NGETTIME
  1929.  
  1930.                This utility will display the current date / time on all
  1931.                attached servers.  This will help you decide if you need to
  1932.                run NSETTIME.
  1933.  
  1934.  
  1935.                Returned errorlevels:
  1936.  
  1937.                    1 - User must be logged in.
  1938.                    0 - Normal exit.
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.                                       Page 34 of 70
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.                                           NGROUP
  1985.  
  1986.  
  1987.                NGROUP GroupName
  1988.  
  1989.                This utility will return an errorlevel of 0, if the current
  1990.                user is a member of specified GroupName.  Errorlevel 1, if
  1991.                it is not a member.
  1992.  
  1993.                Sample usage:  batch files can be tuned to specific types of
  1994.                users.
  1995.  
  1996.                Sample:
  1997.  
  1998.                    NGROUP BTRIEVE
  1999.                    IF ERRORLEVEL 1 THEN GOTO (normal user)
  2000.                    load Brequest
  2001.                    other Btrieve specifics
  2002.                    etc...
  2003.  
  2004.                Sample:
  2005.  
  2006.                    NGROUP ANTIVIRUS
  2007.                    IF ERRORLEVEL 1 THEN GOTO  (skip this section)
  2008.                    run antivirus
  2009.  
  2010.  
  2011.                Returned errorlevels:
  2012.  
  2013.                    1 - User is not a member of group
  2014.                    0 - User is a member of group
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.                                       Page 35 of 70
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.                                          NINVENT
  2044.  
  2045.  
  2046.                NINVENT [Filename]
  2047.  
  2048.                Collect and display configuration on this workstation.
  2049.                NINVENT willdisplay info on screen only, NINVENT Filename
  2050.                will append info to the specified file
  2051.  
  2052.                If appended to a specified file, the information will be in
  2053.                ASCII comma-delimited format which can be read easily into a
  2054.                spreadsheet program.
  2055.  
  2056.                Sample output:
  2057.  
  2058.                     Network User:    DARWIN
  2059.                     Network Address: 6:000061E5B4FC
  2060.                     IPX Version:     3.10
  2061.                     Shell Version:   3.26 Rev A
  2062.                     LanCard Name:    G/Ether 16
  2063.                     LanCard Setting: IRQ B Port 02A0
  2064.                     Conv Memory Size:  518 K
  2065.                     EMS Memory Size:  2000 K
  2066.                     XMS Memory Size:  1904 K
  2067.                     EXT Memory Size:     0 K
  2068.                     Drive C Available:  17 M
  2069.  
  2070.  
  2071.                Returned errorlevels:
  2072.  
  2073.                     9 - Help
  2074.                     8 - Not logged in / unable to do query user
  2075.                     6 - Unable to do diagnostics
  2076.                     1 - Unable to append to specified file
  2077.                     0 - Successful
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.                                       Page 36 of 70
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.                                           NLIST
  2103.  
  2104.  
  2105.                NLIST [/P]
  2106.  
  2107.                /P is optional command, it will pause the screen every 25
  2108.                lines so that you may 'page' thru the output text.
  2109.  
  2110.                The purpose of this utility so that you can get an overview
  2111.                of the status of the file servers on your network.  It will
  2112.                display the names, NetWare version, and network address of
  2113.                all servers.  It will also give a summary of the connections
  2114.                in use for those servers that you are logged in.  This very
  2115.                useful if you have any Hewlett Packard Network Interface
  2116.                cards or Castelle Print Server equipment becuase it will
  2117.                display connections that have defined in PCONSOLE but are
  2118.                not online.
  2119.  
  2120.                For example, when the utility executes, it sees that you
  2121.                have defined four print servers on a (logged on) file
  2122.                server.  It will check to see if those four print servers
  2123.                are attached to the file server, if they are not, it will
  2124.                display the print server's name on the screen.
  2125.  
  2126.                Also, if you configure special access users (like
  2127.                Supervisor, MHS, FAX, Super, Tape...), with a FullName that
  2128.                starts with a - (minus sign), then NLIST will display these
  2129.                user names if they are logged in.  (This is handy to check
  2130.                and see if your special accounts are currently operational.)
  2131.  
  2132.  
  2133.                Returned errorlevels:
  2134.  
  2135.                    9 - Network driver not loaded or too old.
  2136.                    2 - Could not attach to a file server.
  2137.                    1 - One or more print servers are not attached.
  2138.                    0 - Success/normal exit
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.                                       Page 37 of 70
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.                                          NLOGADDR
  2162.  
  2163.  
  2164.                NLOGADDR Drive:Path\FileName [/N]
  2165.  
  2166.                /N is optional command that will ask the user to type in a
  2167.                30 character description of this workstation.
  2168.  
  2169.                This utility will get physical address of the workstation
  2170.                and insert this information into the database specified by
  2171.                FileName.
  2172.  
  2173.                Sample usages:  Track login usage at the workstation level;
  2174.                trace program usage by physical station; trace previous
  2175.                logins at work station; track usage of work stations; track
  2176.                workstation conditions, allows a network administrator a
  2177.                quick way to find who had been accessing a program by a
  2178.                specific workstation.
  2179.  
  2180.                Example placed in a batch file:
  2181.  
  2182.                    NDISK C:
  2183.                    IF ERRORLEVEL 2 NLOGADDR F:\WARNINGS\LOWDISK.LST
  2184.                    IF C:\WP\WP.EXE NLOGADDR F:\INVENT\WPUSER.TXT
  2185.  
  2186.                The database file is in a fixed format (CR/LF) text file, so
  2187.                the administrator can do searches/lookup using any text
  2188.                editor.
  2189.  
  2190.                DataFile Layout:   Field Name            Length
  2191.  
  2192.                                   Physical Address           14
  2193.                                   Notes                      32
  2194.                                   Last Login Date             9
  2195.                                   Last Login Time             6
  2196.                                   Last Login Name            16
  2197.                                   Previous Login Date         9
  2198.                                   Previous Login Time         6
  2199.                                   Previous Login Name        16
  2200.                                   2nd Previous Login Date     9
  2201.                                   2nd Previous Login Time     6
  2202.                                   2nd Previous Login Name    16
  2203.                                   Blank Space (20h)           1
  2204.                                   Carriage Return (0Dh)       1
  2205.                                   Line Feed (0Ah)             1
  2206.                                                             ====
  2207.                                                       Total  140
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.                                       Page 38 of 70
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.                Returned errorlevels:
  2221.  
  2222.                    9 - Syntax error.
  2223.                    8 - Could not read/write to data file
  2224.                    7 - Could not get workstation physical address
  2225.                    2 - Added login time to existing record
  2226.                    1 - Added record for this physical address
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.                                       Page 39 of 70
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.                                          NLOGEVT
  2280.  
  2281.  
  2282.                NLOGEVT Command Drive:\Path\Datafile
  2283.  
  2284.                Command choices:
  2285.  
  2286.                    B    Begin Date/Time Event for workstation (log to
  2287.                         specified data file)
  2288.  
  2289.                    E    End Date/Time Event for current workstation (log to
  2290.                         specified data file)
  2291.  
  2292.                    R    Create user (summary and sorted) usage report for
  2293.                         specified data file.
  2294.  
  2295.                This utility will track usage of events.  These events could
  2296.                range anywhere from keeping track of user login time to
  2297.                application utilization.  The data will be kept in the
  2298.                specified data file (random-access fixed-field text file).
  2299.                This raw file can be viewed or printed by the network
  2300.                administrator.
  2301.  
  2302.                For example, you may want to keep track of who and how often
  2303.                end users will execute a specific application.  In this case
  2304.                you would begin the event (i.e., NLOGEVT B APP1) before you
  2305.                execute the application.  Then, in your batch file, you
  2306.                would end the event (i.e., NLOGEVT E APP1) after you have
  2307.                finished the application.  Later, when you view (or do a
  2308.                report) on the specified log file (NLOGEVT R APP1), you
  2309.                would see some usage stats on the user,
  2310.                such as:
  2311.  
  2312.                Address       Physical Address that the enduser was at when
  2313.                              the application was run.
  2314.  
  2315.                LoginName     LoginName of the user that accessed the
  2316.                              specified event.
  2317.  
  2318.                StartDate     Start date of the event for the displayed
  2319.                              loginname and station.
  2320.  
  2321.                StartTime     Start time of the event for the displayed
  2322.                              loginname and station.
  2323.  
  2324.                EndDate       End date of the event for the displayed
  2325.                              loginname and station.
  2326.  
  2327.                EndTime       End time of the event for the displayed
  2328.                              loginname and station.
  2329.  
  2330.  
  2331.  
  2332.                                       Page 40 of 70
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.                Abends        Number of times that the enduser rebooted or
  2339.                              otherwise did not end event (NLOG E APPNAME)
  2340.                              after running the application.  Or, in other
  2341.                              words, the number of times that the utility
  2342.                              was told to begin an event that already had
  2343.                              started.
  2344.  
  2345.                Event Count   Number of times that an event occurred, or the
  2346.                              number of times that an enduser had accessed
  2347.                              the specified event.
  2348.  
  2349.                Event Amount  Total number of hours that the specified event
  2350.                              has accumulated.
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.                                       Page 41 of 70
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.                                          NLOGMSG
  2398.  
  2399.  
  2400.                NLOGMSG Drive:Pathname\FileName MessageString [/P] [/S]
  2401.  
  2402.                This utility is normally used in batch files, to record(log)
  2403.                an event or error that has taken place.  The user provides a
  2404.                file name and a message.  The 'message' will be appended to
  2405.                the end of the log file named, along with the Login name,
  2406.                date, and time of the event.  If the optional /P is
  2407.                specified, the physical node address of the station will be
  2408.                added to the line.  If the optional /S is specified, the
  2409.                server name will be added to the data file listing as well.
  2410.  
  2411.                Example contents:  (depending on switches specified)
  2412.  
  2413.                DARWIN         02/13/92 15:30 Exited to DOS Prompt
  2414.                KEVIN          02/13/92 16:00 Found outdated NETX
  2415.  
  2416.  
  2417.                The structure of the appended record is:
  2418.  
  2419.                    LoginName                15 char
  2420.                    File server name         13 char  [optional!]
  2421.                    Network node address     13 char  [optional!]
  2422.                    Date                      9 char
  2423.                    Time                      9 char
  2424.                    Message text             32 char
  2425.  
  2426.                Note:  The message string may have quotes around the text.
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.                                       Page 42 of 70
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.                                          NMANPCON
  2457.  
  2458.  
  2459.                NMANPCON [UserName or GroupName]
  2460.  
  2461.                NMANPCON BRENDA    Create new printer configuration file for
  2462.                                   user BRENDA.
  2463.  
  2464.                NMANPCON EVERYONE  Create a new printer configuration file
  2465.                                   for all users that are a member of group
  2466.                                   EVERYONE.
  2467.  
  2468.                This utility will first copy the Supervisor's PRINTCON.DAT
  2469.                to specified users, and then for each user, it will remove
  2470.                job configurations that the individual user does not have
  2471.                sufficient security to access, i.e., not a member of queue
  2472.                user
  2473.  
  2474.                So, if you are using this with the utility NSELPRNJ, you
  2475.                never have to explain about printer job names that the users
  2476.                don't have access to, because they simply aren't displayed!
  2477.  
  2478.                Also, this will enable you to not worry about going through
  2479.                the PRINTCON routine for all your users whenever a new
  2480.                jobname, printer, or other changes are required.  Now, just
  2481.                set up the supervisor's PRINTCON configuration the way you
  2482.                like it, and then run this utility.  All users will then
  2483.                have a correct printcon file.
  2484.  
  2485.                You would need to only run this utility if:
  2486.  
  2487.                    Modified the supervisor's PRINTCON.DAT file and want it
  2488.                    to effect other users.
  2489.                    If it only effects a specific group, do:
  2490.                         NMANPCON GroupName
  2491.                    If it effects everyone, then do:
  2492.                         NMANPCON EVERYONE
  2493.  
  2494.                    Added a new user, and so you want to create the user's
  2495.                    PRINTCON.DAT configuration from the master copy.
  2496.                         NMANPCON NewUserName
  2497.                         and that's it!
  2498.  
  2499.                Sample usages:  Make maintaining PRINTCON.DAT files a breeze
  2500.                because you only have to maintain on master copy; used in
  2501.                conjunction with NSELPRNJ makes an easier to use and
  2502.                maintain printer system; run this utility after creating new
  2503.                users will then result in a PRINTCON.DAT file correctly
  2504.                configured for those users.
  2505.  
  2506.  
  2507.  
  2508.  
  2509.                                       Page 43 of 70
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.                Returned errorlevels:
  2516.  
  2517.                    9 - Syntax error.
  2518.                    8 - Must be logged in.
  2519.                    7 - Unable to access current subdirectory.
  2520.                    6 - Unable to find specified user or group.
  2521.                    5 - Unable to access server's MAIL subdirectory.
  2522.                    4 - Unable to access Supervisor's PRINTCON.DAT file.
  2523.                    3 - Error in Supervisor's PRINTCON.DAT file structure.
  2524.                    0 - Normal exit.
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.                                       Page 44 of 70
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.                                            NMEM
  2575.  
  2576.  
  2577.                NMEM
  2578.  
  2579.                This small utility will report amount of conventional memory
  2580.                available to programs.  It will return an errorlevel by 10K
  2581.                increments.  For example, if NMEM detects that 250K is
  2582.                available then it will return an errorlevel of 25.
  2583.  
  2584.                Sample usages:  Insert before a application call in a batch
  2585.                file, and if there isn't enough memory available, then goto
  2586.                the appropriate message in the batch file.
  2587.  
  2588.                Returned errorlevels:
  2589.  
  2590.                    XXX - (Number of kilobytes of free conv. memory) / 10
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.                                       Page 45 of 70
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.                                          NMHS2TXT
  2634.  
  2635.  
  2636.                NMHS2TXT.EXE must be renamed to OUTPOST.EXE when it is
  2637.                copied to the defined gateway's PUBLIC subdirectory.
  2638.  
  2639.                MHS will execute this utility when it sends Email to the
  2640.                Gateway's OUT sub,and convert the email message to a (word
  2641.                wrapped) text file called OUTPOST.TXT in
  2642.                \MHS\MAIL\GATES\(GatewayName)\OUT subdirectory.  Then the
  2643.                utility will shell and execute the NMHS2TXT.BAT file that
  2644.                you have created in the \MHS\MAIL\GATES\(GatewayName)\PUBLIC
  2645.                subdirectory.
  2646.  
  2647.                Sample usage:  Useful in multiple MHS locations when
  2648.                automatically transfering text files on a routine basis.
  2649.  
  2650.                For example:  An MHS location creates a daily company report
  2651.                and is emailed to all member MHS sites.  At the receiving
  2652.                site, the mail message will be converted to a text file and
  2653.                placed in a common subdirectory for all to access.  (This is
  2654.                good for several reasons: 1 - can be done automatically at
  2655.                any frequency or time of day, 2 - reduces hard disk space
  2656.                needed to store one document instead of multiple email
  2657.                messages....)
  2658.  
  2659.  
  2660.                To install:
  2661.  
  2662.                    Create a new gateway in MHS's Directory Manager section.
  2663.                    Note: Do not create a Gateway command.
  2664.  
  2665.                    Add the gateway name to 'User Routes' in MHS's Directory
  2666.                    Manager.
  2667.  
  2668.                    COPY  NMHS2TXT.EXE  to
  2669.                    \mhs\mail\gates\(GatewayName)\public\OUTPOST.EXE
  2670.  
  2671.                         Note: Yes, it should be called OUTPOST.EXE in this
  2672.                         subdirectory.
  2673.  
  2674.                    Create a NMHS2TXT.BAT in 
  2675.                    \MHS\MAIL\GATES\(GatewayName)\PUBLIC
  2676.  
  2677.                         This batch could copy the file to the desired
  2678.                         location or other things.
  2679.                         Note: FileName NMHS2TXT.EXE must not exist in this
  2680.                         same PUBLIC sub.
  2681.                         A sample can be found in the SAMPLES.LZH file.
  2682.  
  2683.  
  2684.  
  2685.  
  2686.                                       Page 46 of 70
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.                    Now, whenever you send a message to GateWayName @
  2693.                    GateWayName, the utility will make it a text file and
  2694.                    manipulate it.
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.                                       Page 47 of 70
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.                                          NOPNFILE
  2752.  
  2753.  
  2754.                Netware 286 environment:     Full functionality
  2755.  
  2756.                Netware 386 environment:     NOPNFILE can only list open
  2757.                                             files by Username and
  2758.                                             ConnectionNumber
  2759.  
  2760.                NOPNFILE username
  2761.                    to report all openfiles at a user connection
  2762.  
  2763.                NOPNFILE connection number
  2764.                    to report all openfiles at specified connection
  2765.  
  2766.                NOPNFILE
  2767.                    to scan current subdirectory for open files
  2768.  
  2769.                Sample usage:
  2770.  
  2771.                    NOPNFILE BRENDA          get stats at BRENDA's station,
  2772.                    NOPNFILE 34              get stats at Connection # 34,
  2773.                    NOPNFILE                 will search the current
  2774.                                             directory for any open files.
  2775.  
  2776.                This utility will display the files that are open and
  2777.                current access levels.
  2778.  
  2779.                Returned errorlevels:
  2780.  
  2781.                    9 - Syntax error.
  2782.                    8 - Must be logged in.
  2783.                    7 - Must have console operator rights.
  2784.                    6 - Specified user not found.
  2785.                    5 - Specified user is not logged in.
  2786.                    1 - Opened files found.
  2787.                    0 - No open files found.
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.                                       Page 48 of 70
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.                                          NQUOTES
  2811.  
  2812.  
  2813.                NQUOTES Drive:\Path\Filename.ext
  2814.  
  2815.                This will display a random message (based on system date and
  2816.                time) from quote file, NQUOTES.TXT.  This may be used to
  2817.                provide a "though for the day" type login messages.
  2818.  
  2819.                The Filename is in simple text file format:  Each quote
  2820.                starts at the beginning of the line, use a blank space at
  2821.                the beginning of the line to continue a quote.
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.                                       Page 49 of 70
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.                                          NRPTBIND
  2870.  
  2871.  
  2872.                NRPTBIND Objectname [Switch]
  2873.  
  2874.                If Objectname is a User, then a User Report is created,
  2875.                    switch parameter is ignored.
  2876.                    i.e., NRPTBIND BONNIE
  2877.                    for a User Report on user  BONNIE
  2878.  
  2879.                If Objectname is a Group, then the below choices are allowed
  2880.                         for the switch:
  2881.                    D    Create a comma ASCII file on user info
  2882.                    M    Create MHSREMOTE.BAT & MHSLOCAL.BAT files
  2883.                    N    Create report for specified group
  2884.                    S    Display status on all members of group
  2885.                    Y    Create report for all members of group
  2886.  
  2887.                If Objectname is a Queue, then a Queue Report is created,
  2888.                    switch is ignored.
  2889.                    i.e., NRPTBIND HP-QUEUE
  2890.                    for a queue report on queuename HP-QUEUE.
  2891.  
  2892.                If Objectname is a PrintServer, then a PrintServer Report is
  2893.                created, switch parameter is ignored.
  2894.                    i.e., NRPTBIND TRITON-P
  2895.                    for a PrintServer Report about PrintServer named TRITON-
  2896.                                   P
  2897.  
  2898.                This utility will create a report for individual users,
  2899.                groups, print queues, and print servers depending on the
  2900.                specified command.
  2901.  
  2902.                If it is a User Report, then it will contain  Account
  2903.                Information, Direct Trustee Assignments, Group Members,
  2904.                Security Equivalences, and Queue Membership.
  2905.  
  2906.                If it is a Group Report, then it will only contain Direct
  2907.                Trustee Assignments, Group Members and Queue Membership.
  2908.  
  2909.                    The D option is to create a comma-delimited ASCII file
  2910.                    on user login and security information of the specified
  2911.                    users.  The file can be imported into Lotus 123 or other
  2912.                    spreadsheet packages.
  2913.  
  2914.                    The M option is to create a MHSREMOTE.BAT and
  2915.                    MHSLOCAL.BAT file that you can run on your local MHS
  2916.                    host and other MHS hosts to create an accurate routing
  2917.                    table for your MHS sites.
  2918.  
  2919.  
  2920.  
  2921.  
  2922.                                       Page 50 of 70
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.                         For example, currently if you create a Netware
  2929.                         user, you would need to manually enter the user as
  2930.                         a 'User at this Host' on your local MHS system, and
  2931.                         add them to 'Users Routes' on your other MHS hosts.
  2932.                         Well, now, you can use the above batch files that
  2933.                         will use MHS's own utility (MHSUSER) to maintain
  2934.                         accurate routing information for your MHS hosts.
  2935.  
  2936.                         MHSLOCAL.BAT is ran on the same MHS host server
  2937.                         that you ran the NRPTBIND utility on, for it
  2938.                         creates an accurate 'Users at this Host' routing
  2939.                         table for MHS.
  2940.  
  2941.                         MHSREMOTE.BAT is ran on other MHS host servers than
  2942.                         you ran the NRPTBIND utility on, for it creates an
  2943.                         accurate 'User Routes' routing info for MHS.
  2944.  
  2945.                    The S option is to display a 'quick' status of
  2946.                    'important' login and security information of the
  2947.                    specified users.
  2948.  
  2949.                If it is a Queue Report, then it will contain a Queue
  2950.                Subdirectory, Queue Servers, Queue Operators and Queue
  2951.                Users.
  2952.  
  2953.                If it is a PrintServer Report, then it will contain a list
  2954.                of the PrintServer's operators and users.  Configurations
  2955.                for all configured printers, with its defined queue and
  2956.                notify settings.
  2957.  
  2958.                Note: You must a supervisor equivalent to run this report,
  2959.                or else it will only let you run a report on yourself.
  2960.  
  2961.                Sample usages:  Document newly created users/groups/queues,
  2962.                check status on user access, document your LAN, avoid the
  2963.                trouble of needing to print-screen your settings, import
  2964.                your user configuration into spreadsheets/databases for
  2965.                comparison and storage.
  2966.  
  2967.                Returned errorlevels:
  2968.  
  2969.                    9 - Syntax error.
  2970.                    8 - Must be logged in.
  2971.                    7 - Unable to access current subdirectory.
  2972.                    5 - Unable to find specified user/group.
  2973.                    2 - Error writing report file.
  2974.                    0 - Normal exit.
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.                                       Page 51 of 70
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.                                          NRPTCONN
  2988.  
  2989.                                   ** Netware 2.x only! **
  2990.  
  2991.  
  2992.                NTRPTCONN
  2993.  
  2994.                This utility will display the ten workstations with the
  2995.                greatest amount of total packet requests, kilobytes read,
  2996.                and kilobytes written.  (one kilobytes = 1024 bytes).  A
  2997.                spreadsheet importable data file will be written with all
  2998.                workstation information.  Then, sampling will be taken every
  2999.                ten seconds, with the top five workstations displayed.
  3000.                Press any key to exit utility.
  3001.  
  3002.                User must have Console Operator rights.
  3003.  
  3004.                Usages:  Find the workstation(s) that is/are hogging down
  3005.                server resources.
  3006.  
  3007.  
  3008.                Returned errorlevels:
  3009.  
  3010.                    9 - Syntax error.
  3011.                    8 - Must be logged in.
  3012.                    7 - Unable to access current subdirectory.
  3013.                    6 - Must be a console operator.
  3014.                    5 - Error writing report file.
  3015.                    4 - Cannot use with Netware 386.
  3016.                    0 - Normal exit.
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.                                       Page 52 of 70
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.                                          NRPTEQUA
  3047.  
  3048.                  ** Supervisor-equivalency needed to run this utility! **
  3049.  
  3050.  
  3051.                NRPTEQUA
  3052.  
  3053.                This will create a printable report text file that will list
  3054.                all users in alphabetical order that have security
  3055.                equivalences to any and all other users.  The report file
  3056.                will be names servername.EQU, where servername is replaced
  3057.                by the name of your file server.
  3058.  
  3059.                Returned errorlevels:
  3060.  
  3061.                    9 - Syntax error.
  3062.                    8 - Must be logged in.
  3063.                    7 - Unable to access current subdirectory.
  3064.                    6 - Must be supervisor-equivalent.
  3065.                    5 - Error writing report file.
  3066.                    0 - Normal exit.
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.                                       Page 53 of 70
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.                                          NRPTMHS
  3106.  
  3107.  
  3108.                NRPTMHS
  3109.  
  3110.                This utility will create a quick report text file on the
  3111.                settings of the MHS NETDIR.TAB file.  The configuration info
  3112.                will be sent to a file called  MHSHostname.MHS, where
  3113.                MHSHostname is replaced by the name of your MHS host.  This
  3114.                info will include basic host configuration, and a sorted
  3115.                list of all local and remote users defined at this host.
  3116.  
  3117.                Also, a REMOTE.REM file will be created that has a file
  3118.                format matching a RightHandMan compatible REMOTE.REM file.
  3119.                This is to aid the adminsitrator maintain a list of 'Remote
  3120.                User's for all 'remote' locations that call a central mail
  3121.                hub.
  3122.  
  3123.                    Note:  RightHandMan compatibles currently known are
  3124.                    Futurus Team and LANAces OfficeLogic.
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.                                       Page 54 of 70
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.                                          NRPTMHSU
  3165.  
  3166.  
  3167.                NRPTMHSU  Drive:\SubDirectory
  3168.  
  3169.                Drive:\Subdirectory would most likely be F:\MHS\MAIL\USERS
  3170.                or a similar path that points to MHS's mail user
  3171.                subdirectories.
  3172.  
  3173.                This utility was created so that the network administrator
  3174.                can keep track of message traffic and disk space consumption
  3175.                of MHS mail messages.  Especially, since a message can take
  3176.                4K bytes (or more!) of disk space, it doesn't take many to
  3177.                result in a disk space full message on smaller volumes.
  3178.  
  3179.                Sample usage is:  NRPTMHSU H:\MHS\MAIL\USERS
  3180.  
  3181.                Output will consist of:
  3182.  
  3183.                Sent Yesterday     Files that have been created in the
  3184.                                   user's MHS mail directory on the previous
  3185.                                   date of this utility execution.
  3186.  
  3187.                                   This utility will also count deleted (but
  3188.                                   still salvagable files) that existed in
  3189.                                   this directory.
  3190.  
  3191.                                   Hence, the count may be below actual
  3192.                                   value.
  3193.  
  3194.                Sent Today         Files that have been created in the
  3195.                                   user's MHS mail directory on the same
  3196.                                   date of this utility execution.
  3197.  
  3198.                                   This utility will also count deleted (but
  3199.                                   still salvagable files) that existed in
  3200.                                   this directory.
  3201.  
  3202.                Active Msgs        Files that are in the user's MHS mail
  3203.                                   subdirectory.
  3204.  
  3205.                Filed Msgs         Files that are in subdirectories further
  3206.                                   down the tree than the user's MHS mail
  3207.                                   subdirectory.  (For example, additional
  3208.                                   storage mailboxs created (i.e., Futuris
  3209.                                   RightHandMan) would be counted.)
  3210.  
  3211.                Parcel Files       Count of files that are located in the
  3212.                                   user's MHS parcel (IPARCEL) subdirectory.
  3213.                                   Deleted files are not counted.
  3214.  
  3215.  
  3216.  
  3217.                                       Page 55 of 70
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.                DiskSpace K        Diskspace consumed in Kilobytes of all
  3224.                                   counted message and parcel files.
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.  
  3276.                                       Page 56 of 70
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.                                          NRPTPCON
  3283.  
  3284.  
  3285.                NRPTPCON Objectname
  3286.  
  3287.                If Objectname is a User, then create a report on PRINTCON
  3288.                settings of the specified user, if Objectname is a group,
  3289.                then create a report on all users that are a member of
  3290.                specified group.
  3291.  
  3292.                i.e.     NRPTPCON Brenda     create a report on Brenda,
  3293.                         NRPTPCON MIS        create a report for every user
  3294.                                             in the group MIS.
  3295.  
  3296.                This utility will read the specified User's PRINTCON.DAT and
  3297.                create a printable text file of all printer configuration
  3298.                parameters.
  3299.  
  3300.                Sample usages:  Document a user's printer configuration
  3301.                setting; find dissimilar settings among users or groups.
  3302.  
  3303.  
  3304.                Returned errorlevels:
  3305.  
  3306.                    9 - Syntax error.
  3307.                    8 - Must be logged in.
  3308.                    7 - Unable to access current subdirectory.
  3309.                    6 - Specified user/group does not exist.
  3310.                    5 - Unable to access \MAIL subdirectory.
  3311.                    4 - User's PRINTCON.DAT file structure is corrupt.
  3312.                    2 - Error writing report file.
  3313.                    0 - Normal exit.
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.                                       Page 57 of 70
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.                                          NRPTSCRP
  3342.  
  3343.  
  3344.                NRPTSCRP Objectname
  3345.  
  3346.                If Objectname is a user, then create a report on the
  3347.                specified user's login script file, if Objectname is a
  3348.                group, then create a report on all users that are a member
  3349.                of specified group.  If Objectname is SYSTEM, then create a
  3350.                report on the current server's system login script, and the
  3351.                AUTOEXEC.NCF file.  (Current user must be supervisor-
  3352.                equivalent.)  The report file will be file.SCR, with the
  3353.                Objectname replacing file.
  3354.  
  3355.                Examples:
  3356.  
  3357.                    NRPTSCRP Brenda          create a report on Brenda's
  3358.                                             personal login script.
  3359.  
  3360.                    NRPTSCRP MIS             create a login report for every
  3361.                                             user in the group called MIS.
  3362.  
  3363.                    NRPTSCRP SYSTEM          create a system report that
  3364.                                             will document the system login
  3365.                                             script and also the server's
  3366.                                             autoexec.ncf batch file.
  3367.  
  3368.                This utility will help you document the system and personal
  3369.                login scripts for your server.
  3370.  
  3371.                Sample usages:  documenting your LAN..
  3372.  
  3373.                Returned errorlevels:
  3374.  
  3375.                    9 - Syntax error.
  3376.                    8 - Must be logged in.
  3377.                    7 - Unable to access current subdirectory.
  3378.                    6 - Specified user/group does not exist.
  3379.                    0 - Normal exit.
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.                                       Page 58 of 70
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.                                          NRPTOWN
  3401.  
  3402.  
  3403.                NRPTOWN Drive:\Subdirectory
  3404.  
  3405.                This utility will create a report of disk consumption sorted
  3406.                by owner.  The report will consist of disk consumption of
  3407.                the current working subdirectory (or the directory specified
  3408.                on command line) and all of its subdirectories.
  3409.  
  3410.                Sample usages:  management reports; statistical analysis;
  3411.                tracking causes of low disk space available; notifying
  3412.                groups that their disk usage is too high.
  3413.  
  3414.  
  3415.                Returned errorlevels:
  3416.  
  3417.                    9 - Syntax error.
  3418.                    8 - Must be logged in.
  3419.                    7 - Unable to access current subdirectory.
  3420.                    6 - Unable to access specified subdirectory.
  3421.                    5 - Working subdirectory does not exist on server.
  3422.                    4 - Error while accessing subdirectories.
  3423.                    2 - Error writing report file.
  3424.                    0 - Normal exit.
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.                                       Page 59 of 70
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.                                          NRPTSUB
  3460.  
  3461.  
  3462.                NRPTSUB Drive:\SubDirectory\FileMask [-A] [-ND] [-NE] [-NG]
  3463.                [-NH] [-NS]
  3464.  
  3465.                options:
  3466.                    Drive:         is from A: to Z:
  3467.                    SubDirectory   Subdirectory to start at
  3468.                    FileMask (default: *.*) of files to access
  3469.                    -NH            No header information displayed
  3470.                    -A             Accumulate stats upward thru
  3471.                                             subdirectories.
  3472.                    -NG            No Graphics characters(Good for Printing)
  3473.                    -ND            No Dots displayed (Good for Redirection)
  3474.                    -NE            No Empty directories displayed
  3475.                    -NS            No Sort performed
  3476.                    -DF            Results to a importable NRPTSUB.TXT
  3477.                    -EXT           Enable optional extension summary
  3478.  
  3479.                Examples:
  3480.  
  3481.                NRPTSUB F:\USR\DARWIN
  3482.  
  3483.                        Display by-subdirectory consumption starting at
  3484.                        f:\usr\darwin sub.
  3485.  
  3486.                NRPTSUB F:\USR\DARWIN -A
  3487.  
  3488.                        Display accumulated consumption starting at
  3489.                        f:\usr\darwin sub.
  3490.  
  3491.                NRPTSUB F:\
  3492.  
  3493.                        Display by-subdirectory consumption starting at
  3494.                        root of F:
  3495.  
  3496.                NRPTSUB F:\ -ND > FROOT.TXT
  3497.  
  3498.                        Same as above, but with No Dots displayed during
  3499.                        execution.
  3500.  
  3501.                NRPTSUB F:\ -A -EXT -DF
  3502.  
  3503.                        Summarize and accumulate disk consumption by
  3504.                        subdirectory name and extension which would then
  3505.                        exported to a comma-delimited text file
  3506.                        (NRTPSUB.TXT).
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.                                       Page 60 of 70
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.                                          NSELPRNJ
  3519.  
  3520.  
  3521.                NSELPRNJ [SET]
  3522.  
  3523.                Allows the user to interactively select print jobs to be
  3524.                assigned to each of the printer ports, ask to activate, and
  3525.                ask to save to a personal routing 'database' file.
  3526.  
  3527.                NSELPRNJ SET will read the enduser's personal routing
  3528.                'database' file, and activate those print jobname settings.
  3529.  
  3530.                Setup instructions:
  3531.  
  3532.                Add the 'Default Printer Routing' as a menu item in your
  3533.                         standard user menu, have it execute NSELPRNJ.
  3534.  
  3535.                         Add  NSELPRNJ SET   to your system login script.
  3536.  
  3537.                         Inform users that they can setup their default
  3538.                         printer routing by choosing this utility in your
  3539.                         menu program.  (Also, remind them that they can
  3540.                         change these options at anytime.)
  3541.  
  3542.                         Installation complete.  From now on, when a user
  3543.                         logs into the file server, his choosen printer
  3544.                         routings are automatically activated.
  3545.  
  3546.                Sample usages:  administrator no longer has to maintain a
  3547.                personal login script or other manual settings for the
  3548.                enduser; with this, if the enduser is smart enough to pick
  3549.                from a menu, then he can maintain his own printer routing
  3550.                needs!  Frees administrator from maintaining the users
  3551.                printer routing through personal login scripts.
  3552.  
  3553.  
  3554.                Returned errorlevels:
  3555.  
  3556.                    9 - Syntax error.
  3557.                    8 - Must be logged in.
  3558.                    7 - Unable to access current subdirectory.
  3559.                    6 - Abnormal user identity.
  3560.                    5 - Insufficent rights or unable to find PRINTCON.DAT in
  3561.                              current user's MAIL subdirectory.
  3562.                    4 - Users PRINTCON.DAT file is corrupt.
  3563.                    0 - Normal exit.
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.                                       Page 61 of 70
  3572.  
  3573.  
  3574.  
  3575.  
  3576.  
  3577.                                          NSETTIME
  3578.  
  3579.  
  3580.                NSETTIME
  3581.  
  3582.                Note:  You must be a Console Operator on the file server in
  3583.                order to change the date/time of the file servers.
  3584.  
  3585.                This utility will set all attached servers to the same date
  3586.                and time as the workstation running this utility.  The
  3587.                workstation must be first set to the exact time that you
  3588.                want the servers synchronized for.
  3589.  
  3590.  
  3591.                Returned errorlevels:
  3592.  
  3593.                    8 - Must be logged in.
  3594.                    1 - Unable to set the date/time on all servers.
  3595.                    0 - Normal exit.
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.  
  3609.  
  3610.  
  3611.  
  3612.  
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.                                       Page 62 of 70
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.                                          NSTRING
  3637.  
  3638.  
  3639.                NSTRING Searchtext Drive:\Pathname\Filename.Ext
  3640.  
  3641.                This utility will search thru the specified Filename
  3642.                searching to find the specified Searchtext, and if it finds
  3643.                it, the utility will return an ErrorLevel 1, else return an
  3644.                ErrorLevel 0.
  3645.  
  3646.                If the file is not found or on other fatal occurences, it
  3647.                will return an errorlevel above 1 depending on the error.
  3648.  
  3649.  
  3650.                Returned errorlevels:
  3651.  
  3652.                    > 1 Other error
  3653.                    1 - Text found
  3654.                    0 - Text not found
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.                                       Page 63 of 70
  3690.  
  3691.  
  3692.  
  3693.  
  3694.  
  3695.                                          NSUBOWN
  3696.  
  3697.                  ** Supervisor-equivalency needed to run this utility! **
  3698.  
  3699.  
  3700.                NSUBOWN Drive:\Pathname
  3701.  
  3702.                This utility will display/change the file ownership of all
  3703.                subdirectories below it using the name of the immediate
  3704.                subdirectories at execution.
  3705.  
  3706.                For instance:
  3707.  
  3708.                    Currently at  H:\USR, and when using DIR, it will
  3709.                    display:
  3710.                         ALVIN <Subdirectory>
  3711.                         BETTY <Subdirectory>
  3712.                         DENNIS <Subdirectory>
  3713.                         MiscFile <some files...>
  3714.  
  3715.                    Execute this utility by  NSUBOWN  [return]
  3716.  
  3717.                    The utility check if ALVIN is a valid owner name, if it
  3718.                    is then it will set ALVIN's subdirectory (and all
  3719.                    further below) to the owner set to ALVIN.
  3720.  
  3721.                    Then, it will check if BETTY is a valid owner name, if
  3722.                    it is then it will set BETTY has being the owner of
  3723.                    BETTY subdirectory (and all further below).
  3724.  
  3725.                    It will do this to DENNIS also.  But, if DENNIS does not
  3726.                    exist as an Owner, then it will display Does Not Exist,
  3727.                    and skip to the next subdirectory.
  3728.  
  3729.                Sample usages:  If this is done to the personal
  3730.                subdirectories it will give a more accurate consumption of
  3731.                disk space when using the NRPTOWN utility; setting files to
  3732.                their correct owner(LoginName, Group, Server) will make them
  3733.                easier to administer.
  3734.  
  3735.                Returned errorlevels:
  3736.  
  3737.                    9 - Syntax error.
  3738.                    8 - Must be logged in.
  3739.                    7 - Unable to access current subdirectory.
  3740.                    6 - Must be a supervisor or equivalent.
  3741.                    5 - Unable to access specified subdirectory.
  3742.                    4 - Subdirectory must exist on server.
  3743.                    3 - Error accessing subdirectories.
  3744.                    0 - Normal exit.
  3745.  
  3746.  
  3747.  
  3748.                                       Page 64 of 70
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.                                          NTRAFFIC
  3755.  
  3756.  
  3757.                NTRAFFIC
  3758.  
  3759.                This utility will first display the top ten workstations
  3760.                with the most packets sent/received and error stats, then
  3761.                display the top five most active workstations every ten
  3762.                seconds.  The top five most active list will cycle for five
  3763.                minutes or until a keystroke is pressed.
  3764.  
  3765.                Sample usages:  Find the most active workstations;  find a
  3766.                workstation that has an application "babbling" on the wire.
  3767.  
  3768.                Returned errorlevels:
  3769.  
  3770.                    9 - Syntax error.
  3771.                    8 - Must be logged in.
  3772.                    7 - Unable to access current subdirectory.
  3773.                    6 - Specified group does not exist.
  3774.                    2 - Error writing report file.
  3775.                    0 - Normal exit.
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.                                       Page 65 of 70
  3808.  
  3809.  
  3810.  
  3811.  
  3812.  
  3813.                                          NXMSMEM
  3814.  
  3815.  
  3816.                NXMSMEM
  3817.  
  3818.                This program will return the amount of XMS memory available.
  3819.                (Microsoft's HIMEM.SYS is a XMS memory driver).  It will
  3820.                return the amount 10K increments as an Errorlevel.  For
  3821.                example, if NXMSMEM found 2304K available, then it will
  3822.                return with an errorlevel of 230.  The maximum errorlevel
  3823.                returned is 255.
  3824.  
  3825.                Sample usages:  Insert before a application call in a batch
  3826.                file, and if there isn't enough memory available, then goto
  3827.                the appropriate message in the batch file; if there is
  3828.                enough XMS memory then load the protected version of the
  3829.                application instead of the real mode version; avoid the
  3830.                maintenance headache of keeping multiple AUTOEXEC.BAT and
  3831.                CONFIG.SYS files for different machines.
  3832.  
  3833.                For example:
  3834.  
  3835.                    Use it to load the XMSNETX instead of the NETx shell.
  3836.  
  3837.                         NXMSMEM
  3838.                         if errorlevel 7 XMSNETX
  3839.                         NETX
  3840.  
  3841.                    Use it load the appropiate version of Informix
  3842.                SmartWare.
  3843.  
  3844.                         NXMSMEM
  3845.                         if errorlevel 96 goto ProtMode
  3846.                         SMART %1 %2
  3847.                         goto Next
  3848.                         echo Loading in Protected Mode
  3849.                         :ProtMode
  3850.                         echo Loading in Protected Mode
  3851.                         SMARTP %1 %2
  3852.                         :Next
  3853.  
  3854.                Returned errorlevels:
  3855.  
  3856.                    XXX - Number of megabytes of free XMS memory.
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.                                       Page 66 of 70
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872.                                          Table A
  3873.  
  3874.  
  3875.                Diagnostic stats include:   (NCARD also uses the list below)
  3876.  
  3877.                    # stands for "Number of times that"
  3878.  
  3879.                IPX Total Send Packets
  3880.                    # applications called IPX to send a packet.
  3881.  
  3882.                IPX Err Malformed Packets
  3883.                    # applications gave IPX a malformed packet.
  3884.  
  3885.                IPX Get ECB Requests
  3886.                    # IPX created a Receive ECB for a incoming packet.
  3887.  
  3888.                IPX Err Get ECB Failures
  3889.                    # IPX was unable to supply an ECB for an incoming
  3890.                         packet.
  3891.  
  3892.                IPX ECB Listen Count
  3893.                    # applications gave IPX a Listen ECB.
  3894.  
  3895.                IPX Err ECB Cancel Failures
  3896.                    # IPX was unable to cancel an ECB.
  3897.  
  3898.                IPX AES Events
  3899.                    # IPX used AES to schedule an event.
  3900.  
  3901.                IPX Err AES postponed Events
  3902.                    # IPX was unable to service an AES event when scheduled.
  3903.  
  3904.                IPX Max Configured Sockets
  3905.                    Number of Sockets available as set in configuration.
  3906.  
  3907.                IPX Max Open Sockets
  3908.                    Maximum number of concurrently Open Sockets.
  3909.  
  3910.                IPX Err Open Socket Failures
  3911.                    # an Open Socket Failure due to either all sockets used
  3912.                         or socket was already open.
  3913.  
  3914.                IPX Err Find Route Failures
  3915.                    # IPX was not able to find a route to the server.
  3916.  
  3917.                SPX Max Configured Connections
  3918.                    Maximum number of Connections available as set in
  3919.                         configuration parameters.
  3920.  
  3921.                SPX Max Used Connections
  3922.                    Maximum number of concurrently used Connections.
  3923.  
  3924.  
  3925.                                       Page 67 of 70
  3926.  
  3927.  
  3928.  
  3929.  
  3930.  
  3931.  
  3932.                SPX Estab Connect Requests
  3933.                    # applications have called SPX to establish a
  3934.                         Connection.
  3935.  
  3936.                SPX Estab Connect Failures
  3937.                    # a connection request failed.
  3938.  
  3939.                SPX Err Listen Connect Failures
  3940.                    # applications called SPX to listen for connection
  3941.                         requests.
  3942.  
  3943.                SPX Send Sequenced Packets
  3944.                    # applications called SPX to send a sequenced packet.
  3945.  
  3946.                SPX Err Windows Chokes
  3947.                    # a Send Request failed because the destination station
  3948.                         did not allocate a receive buffer.
  3949.  
  3950.                SPX Err Send Failures
  3951.                    # applications gave SPX a bad send packet.
  3952.  
  3953.                SPX Err Abort Connections
  3954.                    # an application aborted a SPX connection.  This is not
  3955.                         nice for an application to do.
  3956.  
  3957.                SPX ECB Listen Packets
  3958.                    # applications gave SPX a Listen ECB.
  3959.  
  3960.                SPX Err ECB Bad Listen Packet
  3961.                    # applications gave SPX a malformed packet.
  3962.  
  3963.                SPX Err Receive Duplicate Packets
  3964.                    # SPX has discarded a duplicate of a previously received
  3965.                         packet.
  3966.  
  3967.                SPX Incoming Packets
  3968.                    # the driver gave SPX an incoming packet.
  3969.  
  3970.                SPX Err Bad Incoming Packets
  3971.                    # SPX received a packet with an incorrect connection ID.
  3972.  
  3973.                SPX Err No Session Listen ECB
  3974.                    # SPX did not have a Connection Listen ECB to accept an
  3975.                         incoming Connection Request packet.
  3976.  
  3977.                SPX Err Watchdog Destroy Sessions
  3978.                    # the Watchdog process destroyed an invalid connection.
  3979.  
  3980.                Shl Total Shell Requests
  3981.                    # the shell sent requests to a File Server.
  3982.  
  3983.  
  3984.                                       Page 68 of 70
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.                Shl Err Operator Aborts
  3992.                    # the user told the shell to 'A'bort the connection when
  3993.                         it encountered a network error.
  3994.  
  3995.                Shl Err Operator Retries
  3996.                    # the User told the shell to 'R'etry the connection when
  3997.                         it encountered a Network error.
  3998.  
  3999.                Shl Err Time Outs (Server TimedOut)
  4000.                    # the shell did not a receive a reply from the server.
  4001.  
  4002.                Shl Err Write Error
  4003.                    # the driver was unable to send a request (even after
  4004.                         several attempts).
  4005.  
  4006.                Shl Err Invalid Reply Header
  4007.                    # an unexpected packet was received.
  4008.  
  4009.                Shl Err Invalid Slot
  4010.                    # a received packet specified an incorrect connection
  4011.                         ID.
  4012.  
  4013.                Shl Err Invalid Sequence #
  4014.                    # a received packet specified an incorrect sequence
  4015.                         number.
  4016.  
  4017.                Shl Err Receive OverRun
  4018.                    # a packet was received before the driver could process
  4019.                         it.
  4020.  
  4021.                Shl Err No Router Found
  4022.                    # the shell could not find an alternate route to the
  4023.                         destination address.
  4024.  
  4025.                Shl Err Being Processed (Server Busy)
  4026.                    # the Server replied that it was still processing the
  4027.                         previous packet.
  4028.  
  4029.                Shl Err Unknown Error
  4030.                    # an unknown error occurred with a received packet.
  4031.  
  4032.                Shl Err Invalid Server Slot
  4033.                    # the shell used an invalid connection number according
  4034.                         to the server.
  4035.  
  4036.                Shl Err Alloc No Slots Avail.
  4037.                    # the server replied that it did not have any available
  4038.                         connection slots.
  4039.  
  4040.                Shl Err Alloc Server is Down
  4041.  
  4042.  
  4043.                                       Page 69 of 70
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.                    # applications specified a file server that is down.
  4050.  
  4051.                Drv Total Tx Packets
  4052.                    Number of successfully transmitted packets.
  4053.  
  4054.                Drv Total Rx Packets
  4055.                    Number of successfully received packets.
  4056.  
  4057.                Drv Err Tx Retry Count
  4058.                    # a packet was resent.  (like when a collision occurs)
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.                                       Page 70 of 70
  4103.